<?php
namespace Efy;

class Config
{
	protected static $_instance = null;
 	public static function getInstance()
    {
        if (null === self::$_instance) {
            self::$_instance = new self();
        }

        return self::$_instance;
    }
	public static function getParam()
	{
		$params = require (__DIR__ . '/../../config.php');
		$object = json_decode(json_encode($params), FALSE);
		return $object;
	}
	public static function db()
	{
		return self::getParam()->dbmssql->db;
	}
	
}

